package com.nachsparty.keepmychange.data;


public class Data {
	public static boolean login = false;
	public static int objetivo = 0;
	public static int cantidad_actual = 0;
/*	public static GoogleAnalyticsTracker tracker = GoogleAnalyticsTracker.getInstance();
	public static Facebook facebook = new Facebook(Constants.FACEBOOK_APP_ID);

	public static int selectedChannel = 0;
	public static int selectedSubchannel = 0;
	public static int selectedChannelForPlayback = 0;
	
	public static NestleVideo selectedVideoItem = null;

	public static NestleVideo featuredVideoChannelHome = null;
	public static NestleVideo featuredVideoChannelAComerBien = null;
	public static NestleVideo featuredVideoChannelBebes = null;
	public static NestleVideo featuredVideoChannelSentirseBien = null;
	public static NestleVideo featuredVideoChannelMascotas = null;
	public static NestleVideo featuredVideoChannelPromos = null;
	public static NestleVideo featuredVideoChannelNestle = null;

	public static ArrayList<NestleVideo> videosCurrentSubchannel = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosFavorites = new ArrayList<NestleVideo>();
	public static int numPagesCurrentSubchannel = 0;
*/
	/*public static ArrayList<NestleVideo> videosAComerBien = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosBebes = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosSentirseBien = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosMascotas = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosPromos = new ArrayList<NestleVideo>();
	public static ArrayList<NestleVideo> videosNestle = new ArrayList<NestleVideo>();*/
/*
	public static ArrayList<NestleChannel> channelsHome = new ArrayList<NestleChannel>();
	
	public static ArrayList<NestleChannel> channelsAComerBien = new ArrayList<NestleChannel>();
	public static ArrayList<NestleChannel> channelsBebes = new ArrayList<NestleChannel>();
	public static ArrayList<NestleChannel> channelsSentirseBien = new ArrayList<NestleChannel>();
	public static ArrayList<NestleChannel> channelsMascotas = new ArrayList<NestleChannel>();
	public static ArrayList<NestleChannel> channelsPromos = new ArrayList<NestleChannel>();
	public static ArrayList<NestleChannel> channelsNestle = new ArrayList<NestleChannel>();
	
	public static boolean isVideoInFavorites(NestleVideo video) {
		int count = Data.videosFavorites.size();
		for(int i=0;i<count;i++) {
			if(Data.videosFavorites.get(i).id == video.id){ 
				video.favorite = true;
				Data.videosFavorites.get(i).favorite = true;
				return true;
			}
		}
		return false;
	}
	
	public static void removeVideoFromFavorites(NestleVideo video) {

		int count = Data.videosFavorites.size();
		for(int i=0;i<count;i++) {
			if(Data.videosFavorites.get(i).id == video.id){
				video.favorite = false;
				Data.videosFavorites.get(i).favorite = false;
				Data.videosFavorites.remove(i);
				return;
			}
		}
	}
*/
	
//	public static boolean isContentAlreadyDownloadedForChannel(int channelId) {
//		switch(channelId){
//		case Constants.CHANNEL_HOME:
//			return /*channelsHome.size()>0 && */featuredVideoChannelHome != null;
//		case Constants.CHANNEL_ACOMERBIEN:
//			return /*channelsAComerBien.size()>0 && */featuredVideoChannelAComerBien != null;
//		case Constants.CHANNEL_BEBES:
//			return /*channelsBebes.size()>0 && */featuredVideoChannelBebes != null;
//		case Constants.CHANNEL_SENTIRSEBIEN:
//			return /*channelsSentirseBien.size()>0 && */featuredVideoChannelSentirseBien != null;
//		case Constants.CHANNEL_MASCOTAS:
//			return /*channelsMascotas.size()>0 && */featuredVideoChannelMascotas != null;
//		case Constants.CHANNEL_PROMOS:
//			return /*channelsPromos.size()>0 && */featuredVideoChannelPromos != null;
//		case Constants.CHANNEL_NESTLE:
//			return /*channelsNestle.size()>0 && */featuredVideoChannelNestle != null;
//		}
//		return false;
//	}
}
